home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
gnu
/
dld-3_23.lha
/
dld-3.2.3
/
test
/
add1
/
Makefile
< prev
Wrap
Makefile
|
1991-05-30
|
323b
|
21 lines
EXEC = call_add1
LIB = ../../libdld.a
INCLUDE = ../../dld.h
CC= gcc
CFLAGS = -g -I../..
all: ${EXEC}
clean:
rm -f ${EXEC} *.o
${LIB}: ../../dld.c $(INCLUDE)
cd ../..; make ; cd test/add1
.c.o:
${CC} -c ${CFLAGS} $*.c
call_add1: $(LIB) $(INCLUDE) add1.o call_add1.c
${CC} ${CFLAGS} call_add1.c $(LIB) -o call_add1